package com.geek.mysql7work.work2.service;

import javax.sql.DataSource;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface OrderService {

    void insertOne(DataSource dataSource, String sql) throws SQLException;

    List<Map<String, Object>> query(DataSource dataSource, String sql);
}
